drawString(String,PDFFont,PDFBrush,PDFDisplayRectangle,PDFStructureElement) Method
In This Topic
Draws the specified text string in the specified rectangle with the specified and @see com.o2sol.pdf4java.graphics.PDFFont Objects.
Syntax
Parameters
- s
- String to draw.
- font
- that defines the text format of the string.
- brush
- that determines the color and texture of the drawn text.
- rectangle
- Object that specifies the location of the drawn text.
- structureElement
- The structure element that is associated with this piece of content.
Exceptions
| Exception | Description |
| java.lang.IllegalArgumentException | When rectangle is null. |
See Also